package com.wugui.datax.admin.tool.generate.util;

import com.alibaba.fastjson.JSONObject;
import com.wugui.datax.admin.entity.JobDatasource;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 默认查询体查询体
 */
public class QueryBody {
    private String dataBaseId;
    private String tableName;
    private List<String> fields;
    private String conditions;
    private JobDatasource datasource;

    public String getDataBaseId() {
        return dataBaseId;
    }

    public void setDataBaseId(String dataBaseId) {
        this.dataBaseId = dataBaseId;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public List<String> getFields() {
        return fields;
    }

    public void setFields(List<String> fields) {
        this.fields = fields;
    }

    public String getConditions() {
        return conditions;
    }

    public void setConditions(String conditions) {
        this.conditions = conditions;
    }

    public JobDatasource getDatasource() {
        return datasource;
    }

    public void setDatasource(JobDatasource datasource) {
        this.datasource = datasource;
    }
}
